package main
import (
    "fmt"
)
func main() {
    var a[2] string
    a[0]="hello"
    a[1]="world"
    fmt.Println(a[0],a[1])
    fmt.Println(a)

    p:=[]int{1,2,34,5,6,7,8,9}
    fmt.Println(p)
    for i:=0;i<len(p);i++{
        fmt.Printf("p[%d]=%d\n",i,p[i])
    }
    fmt.Println(p[3:])

}
